package rhc.spider.signal.signalTouch;

import java.util.Collection;
import java.util.Map;

import rhc.spider.signal.SignalTouch;
import rhc.spider.signal.signalInterface.SpiderOpenSignal;
import rhc.spider.spider.Spider;

public class SpiderOpenSignalTouch implements SignalTouch<SpiderOpenSignal>{

	@Override
	public void touchSignal(Collection<SpiderOpenSignal> signalInterfaces,
			Map<String, Object> signalObject) {
		Spider spider=(Spider) signalObject.get(SPIDER);
		
		for(SpiderOpenSignal signalInterface:signalInterfaces){
			signalInterface.spiderOpen(spider);
		}
		
		signalObject.clear();
	}

}
